/* Controller for listing all entries*/


blogApp.controller  ('EntryList', ['$scope', '$http',
    function($scope, $http) {
        $http.get('entries').success(function(data) {
        $scope.entries = data;
        console.log(data);
        });
    }
]);
